package org.example.superb;

import com.alibaba.testable.core.annotation.MockDiagnose;
import com.alibaba.testable.core.annotation.MockNew;
import com.alibaba.testable.core.model.LogLevel;

/**
 * Description:
 *
 * @Author maduar maduar@163.com
 * @Date 2022-12-04 21:58
 */
@MockDiagnose(LogLevel.VERBOSE)
public class UserMock {
    // a
    @MockNew
    public User createUser(String name) {
        return new User("_mock" + name);
    }
}
